class sha224(object):
    name: str
    block_size: int
    digest_size: int
    digestsize: int
    def __init__(self, init: str | None) -> None: ...
    def copy(self) -> sha224: ...
    def digest(self) -> str: ...
    def hexdigest(self) -> str: ...
    def update(self, arg: str) -> None: ...

class sha256(object):
    name: str
    block_size: int
    digest_size: int
    digestsize: int
    def __init__(self, init: str | None) -> None: ...
    def copy(self) -> sha256: ...
    def digest(self) -> str: ...
    def hexdigest(self) -> str: ...
    def update(self, arg: str) -> None: ...
